//
//  UserAccount.h
//  OC-微博
//
//  Created by Apple on 15/11/10.
//  Copyright © 2015年 Apple. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UserAccount : NSObject <NSCoding>
 /// 用于调用access_token，接口获取授权后的access token
@property (nonatomic, copy) NSString *access_token;
/// access_token的生命周期，单位是秒数 - 准确的数据类型是`数值`
@property (nonatomic, assign) NSTimeInterval expires_in;
/// 过期日期
@property (nonatomic, strong) NSDate *expiresDate;
/// 当前授权用户的UID
@property (nonatomic, copy) NSString *uid;
/// 用户昵称
@property (nonatomic, copy) NSString *screen_name;
/// 用户头像地址（大图），180×180像素
@property (nonatomic, copy) NSString *avatar_large;
// 字典转模型
+ (instancetype)initWithdict:(NSDictionary *)dict;

@end
